package com.yunban.project.api.text_check.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunban.project.api.text_check.domain.CorrectionConfig;
import com.yunban.project.api.text_check.enums.CorrectionModel;

import java.util.List;

/**
 * @author: lijiajun
 * @date: 2024-11-20
 * @version: 1.0
 */
public interface CorrectionConfigService extends IService<CorrectionConfig> {
    /**
     * 获取已经开启的配置
     *
     * @return List<CorrectionConfig>
     */
    List<CorrectionConfig> getEnabledConfigList();

    CorrectionConfig findByCode(CorrectionModel model);
}
